package com.gdut.huayan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdut.huayan.entity.dto.PageQuery;
import com.gdut.huayan.entity.po.Festival;
import com.gdut.huayan.entity.vo.FestivalVo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface FestivalService extends IService<Festival> {

    Map<String,String> getUploadLink();

    PageInfo<Festival> getPage(PageQuery pageQuery);

    List<Festival> get();

    List<FestivalVo> get(Long festivalId);

    boolean save(Festival festival);
}
